<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title>新农合慢性病报销系统登录</title>    
       <link href="${pageContext.request.contextPath}/css/pintuer.css"
	   type=text/css rel=stylesheet>
       <link href="${pageContext.request.contextPath}/css/admin.css"
	   type=text/css rel=stylesheet>
	   <link href="${pageContext.request.contextPath}/images/logo.jpg"
	   type=text/css rel=stylesheet>
       <script src=
       "${pageContext.request.contextPath}/js/jquery.js">
       </script>
       <script src=
       "${pageContext.request.contextPath}/js/pintuer.js">
       </script>
<meta content="MSHTML 6.00.2600.0" name=GENERATOR>
<script>
// 判断是登录账号和密码是否为空
function check(){
    var id = $("#id").val();
    var password = $("#password").val();
    if(ID=="" || password==""){
    	$("#message").text("账号或密码不能为空！");
        return false;
    }  
    return true;
}
</script>

</head>
<body>
<div class="bg"></div>
<div class="container">
    <div class="line bouncein">
        <div class="xs6 xm4 xs3-move xm4-move">
            <div style="height:150px;"></div>
            <div class="media media-y margin-big-bottom">           
            </div>     
            
           <font color="red">
			 <%-- 提示信息--%>
			 <span id="message">${msg}</span>
		</font>
                
            <form action="${pageContext.request.contextPath }/login.action" method="post" onsubmit="return check()">
            <div class="panel loginbox">
                <div class="text-center margin-big padding-big-top"><h1>新农合慢性病报销系统</h1></div>
                <div class="panel-body" style="padding:30px; padding-bottom:10px; padding-top:10px;">
                    <div class="form-group">
                        <div class="field field-icon-right">
                            <input type="text" class="input input-big" name="userId" placeholder="登录工号"  value=""  data-validate="required:请填写工号" />
                            <span class="icon icon-user margin-small"></span>
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="field field-icon-right">
                            <input type="password" class="input input-big" name="password" placeholder="登录密码" value=""  data-validate="required:请填写密码" />
                            <span class="icon icon-key margin-small"></span>
                        </div>
                    </div>
                  <br>
                    <div class="form-group" style="text-align: center" >
                            <div class="field" style="color: black" >
                                <p style="text-align: center">请勾选用户类型</p>
                               <input type="radio" name="type" value="管理员" />管理员
                               <span class="icon icon-user margin-small" ></span>
                               <input type="radio" name="type" value="员工" />员工
                                <span class="icon icon-user margin-small" ></span>
                               <input type="radio" name="type" value="用户" />用户
                               <span class="icon icon-user margin-small" ></span>
                            </div>
                        </div>  
                <div style="padding:30px;"><input type="submit" class="button button-block bg-main text-big input-big" value="登录"></div>
            </div>
            </form>          
        </div>
    </div>
</div>


</body>
</html>
